/*!
 * \file frreport_body_new_stat_conn.c
 *
 * All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.\n
 *
 * \version 3.0
 * \author geyh
 * \date 2016/03/31
 *
 */
#include <CUnit/Basic.h>
#include <stdlib.h>

#include "frcomm.h"
#include "frmem.h"
#include "conntrack.h"
#include "frct_comm.h"
#include <frdb_cursor.h>
#include "frreport_comm.h"

#include "apmtest_comm.h"

static int __suite_init(void)
{

    return 0;
}

static int __suite_cleanup(void)
{

    return 0;
}


static void __case1(void)
{
    Frreport_body_data *p_st_body_data=NULL;

    p_st_body_data = frreport_body_new_stat_conn(0,0,0,0,0,0,0,0);

    CU_ASSERT_PTR_NOT_NULL(p_st_body_data);
    frfree(p_st_body_data);

    return;
}


int add_suite_frreport_body_new_stat_conn(void)
{
    CU_pSuite pSuite = NULL;

    if ((pSuite = CU_add_suite("frreport_comm frreport_body_new_stat_conn()", __suite_init, __suite_cleanup)) == NULL)
        return FR_FAIL;

    CU_add_test(pSuite, "case1", __case1);

    return FR_SUCC;
}
